Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions manifests/server/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,13 @@
$autosign_content = undef
}
file { $puppet::server::autosign:
ensure => file,
owner => $puppet::server::user,
group => $puppet::server::group,
mode => $puppet::server::autosign_mode,
content => $autosign_content,
source => $puppet::server::autosign_source,
ensure => file,
owner => $puppet::server::user,
group => $puppet::server::group,
mode => $puppet::server::autosign_mode,
content => $autosign_content,
source => $puppet::server::autosign_source,
show_diff => false,
}
}

Expand Down
2 changes: 1 addition & 1 deletion spec/classes/puppet_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
it { should_not contain_puppet__config__agent('http_read_timeout') }
it { should_not contain_file("#{confdir}/custom_trusted_oid_mapping.yaml") }

it { should contain_file("#{confdir}/autosign.conf") }
it { should contain_file("#{confdir}/autosign.conf").with_show_diff(false) }
it { should_not contain_file("#{confdir}/autosign.conf").with_content(/# Managed by Puppet/) }
it { should_not contain_file("#{confdir}/autosign.conf").with_content(/foo.bar/) }

Expand Down