diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-08 18:43:22 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-08 18:43:22 +0200 |
commit | b21c999a427d0a802673918e311b7ed8913e9868 (patch) | |
tree | 05687085a5cb9f98fec768ab86bddc41489bd686 | |
parent | 5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0 (diff) | |
download | Puppet-b21c999a427d0a802673918e311b7ed8913e9868.tar.gz Puppet-b21c999a427d0a802673918e311b7ed8913e9868.tar.zst Puppet-b21c999a427d0a802673918e311b7ed8913e9868.zip |
Add base package installations
-rw-r--r-- | manifests/site.pp | 1 | ||||
-rw-r--r-- | modules/base_packages/manifests/init.pp | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/manifests/site.pp b/manifests/site.pp index 88882af..a37c69c 100644 --- a/manifests/site.pp +++ b/manifests/site.pp | |||
@@ -1,3 +1,4 @@ | |||
1 | node default { | 1 | node default { |
2 | class { 'base_packages': } | ||
2 | class { 'cron_puppet': } | 3 | class { 'cron_puppet': } |
3 | } | 4 | } |
diff --git a/modules/base_packages/manifests/init.pp b/modules/base_packages/manifests/init.pp new file mode 100644 index 0000000..f1e76ae --- /dev/null +++ b/modules/base_packages/manifests/init.pp | |||
@@ -0,0 +1,12 @@ | |||
1 | class base_packages { | ||
2 | package { 'git': | ||
3 | ensure => 'latest', | ||
4 | } | ||
5 | package { 'puppet': | ||
6 | ensure => 'latest', | ||
7 | } | ||
8 | package { 'cronie': | ||
9 | ensure => 'latest', | ||
10 | } | ||
11 | } | ||
12 | |||