diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-08 18:28:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-08 18:28:19 +0200 |
commit | 5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0 (patch) | |
tree | 9d97ee7848753ee69fc713881fdb004ce94c9cec | |
parent | 596f9fefb01f1419e640f3f3a878443adc047b07 (diff) | |
download | Puppet-5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0.tar.gz Puppet-5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0.tar.zst Puppet-5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0.zip |
Rename cron-puppet class to cron_puppet
-rw-r--r-- | manifests/site.pp | 2 | ||||
-rw-r--r-- | modules/cron_puppet/files/post-merge (renamed from modules/cron-puppet/files/post-merge) | 0 | ||||
-rw-r--r-- | modules/cron_puppet/manifests/init.pp (renamed from modules/cron-puppet/manifests/init.pp) | 6 |
3 files changed, 4 insertions, 4 deletions
diff --git a/manifests/site.pp b/manifests/site.pp index 1464586..88882af 100644 --- a/manifests/site.pp +++ b/manifests/site.pp | |||
@@ -1,3 +1,3 @@ | |||
1 | node default { | 1 | node default { |
2 | include cron-puppet | 2 | class { 'cron_puppet': } |
3 | } | 3 | } |
diff --git a/modules/cron-puppet/files/post-merge b/modules/cron_puppet/files/post-merge index b8dc266..b8dc266 100644 --- a/modules/cron-puppet/files/post-merge +++ b/modules/cron_puppet/files/post-merge | |||
diff --git a/modules/cron-puppet/manifests/init.pp b/modules/cron_puppet/manifests/init.pp index 4ce0be4..a694a6f 100644 --- a/modules/cron-puppet/manifests/init.pp +++ b/modules/cron_puppet/manifests/init.pp | |||
@@ -1,9 +1,9 @@ | |||
1 | class cron-puppet { | 1 | class cron_puppet { |
2 | file { 'post-hook': | 2 | file { 'post-hook': |
3 | ensure => file, | 3 | ensure => file, |
4 | path => '/etc/puppetlabs/puppet/.git/hooks/post-merge', | 4 | path => '/etc/puppetlabs/puppet/.git/hooks/post-merge', |
5 | source => 'puppet:///modules/cron-puppet/post-merge', | 5 | source => 'puppet:///modules/cron_puppet/post-merge', |
6 | mode => 0755, | 6 | mode => '0755', |
7 | owner => root, | 7 | owner => root, |
8 | group => root, | 8 | group => root, |
9 | } | 9 | } |