Skip to content

Commit

Permalink
Fix puppet 3 compatiblity issue: file source parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltdel committed Jun 27, 2013
1 parent 94aadae commit d168912
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Deploys a public client SSL certificate for authentication:

mcollective::client::certificate { 'foo':
ensure => present,
key_source_dir => 'puppet:///module_name/path/to/dir/',
key_source_dir => 'puppet:///modules/module_name/path/to/dir/',
}

### mcollective::actionpolicy::base
Expand Down
2 changes: 1 addition & 1 deletion manifests/client/certificate.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
# mcollective::client::certificate { 'foo':
# ensure => present,
# key_source_dir => 'puppet:///module_name/path/to/dir/',
# key_source_dir => 'puppet:///modules/module_name/path/to/dir/',
# }
#
define mcollective::client::certificate (
Expand Down
2 changes: 1 addition & 1 deletion manifests/node/files.pp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@
owner => 'root',
group => 'root',
mode => '0644',
source => "puppet:///${module_name}/actionpolicy.rb",
source => "puppet:///modules/${module_name}/actionpolicy.rb",
}
}

0 comments on commit d168912

Please sign in to comment.