aboutsummaryrefslogtreecommitdiff
path: root/modules/site_users/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-29 16:49:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-29 16:49:15 -0300
commit3730114dbb3dffa0d496ff5aaf42c8d54bee8f80 (patch)
tree7987115345b6e5e9c1e95c38a517d5ba9bd40620 /modules/site_users/manifests
parent106977f49e6dbc925179ec2bded5455f45607189 (diff)
downloadpuppet-bootstrap-3730114dbb3dffa0d496ff5aaf42c8d54bee8f80.tar.gz
puppet-bootstrap-3730114dbb3dffa0d496ff5aaf42c8d54bee8f80.tar.bz2
More changes for puppet 3.x
Diffstat (limited to 'modules/site_users/manifests')
-rw-r--r--modules/site_users/manifests/admin.pp16
-rw-r--r--modules/site_users/manifests/backups.pp3
-rw-r--r--modules/site_users/manifests/init.pp2
-rw-r--r--modules/site_users/manifests/virtual.pp3
4 files changed, 24 insertions, 0 deletions
diff --git a/modules/site_users/manifests/admin.pp b/modules/site_users/manifests/admin.pp
new file mode 100644
index 0000000..14ad9da
--- /dev/null
+++ b/modules/site_users/manifests/admin.pp
@@ -0,0 +1,16 @@
+class site_users::admin inherits user {
+ # root user and password
+ #user::manage { "root":
+ # tag => "admin",
+ # homedir => '/root',
+ # password => '$5$zpdXgIaLKMDckKx9$qTS9WbmS/zylFwPu1orq.779CNnAiA9VoGdFNU94jz/',
+ #}
+
+ # first user config
+ #user::manage { "user":
+ # tag => "admin",
+ # groups => [ "sudo", ],
+ # password => '$5$D8kCEIo5/MNCA7Tz$VhGg2MNDs21JzX9HgxSWMupA5GD5MXnKwDuveMSdPH7',
+ # sshkey => [ "WRONG" ],
+ #}
+}
diff --git a/modules/site_users/manifests/backups.pp b/modules/site_users/manifests/backups.pp
new file mode 100644
index 0000000..aab00f9
--- /dev/null
+++ b/modules/site_users/manifests/backups.pp
@@ -0,0 +1,3 @@
+class site_users::backup inherits user {
+ # define third-party hosted backup users here
+}
diff --git a/modules/site_users/manifests/init.pp b/modules/site_users/manifests/init.pp
new file mode 100644
index 0000000..b3c656a
--- /dev/null
+++ b/modules/site_users/manifests/init.pp
@@ -0,0 +1,2 @@
+class site_users {
+}
diff --git a/modules/site_users/manifests/virtual.pp b/modules/site_users/manifests/virtual.pp
new file mode 100644
index 0000000..20aba01
--- /dev/null
+++ b/modules/site_users/manifests/virtual.pp
@@ -0,0 +1,3 @@
+class site_users::virtual inherits user {
+ # define custom users here
+}