Created
May 5, 2017 14:50
-
-
Save mazurov/b44ed86594551cadc186090b778319f3 to your computer and use it in GitHub Desktop.
amazurov puppet for docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class hg_playground::amazurov { | |
motd::news{'lhcbpr installed': | |
date => '2015-11-26', | |
message => ' The LHCb PR machines installed with puppet.' | |
} | |
notify {'LHCb settings for LHCb PR machines' :} | |
include hg_playground::amazurov::software | |
include hg_playground::amazurov::firewall | |
# add group z5 to access LHCb machines | |
user{'lhcbpr': | |
ensure => present, | |
name => 'lhcbpr', | |
gid => 1470, | |
uid => 45054, | |
shell => '/bin/bash', | |
} | |
include('sudo') | |
sudo::directive {'admin_users': | |
ensure => present, | |
content => "amazurov ALL=(ALL) ALL", | |
} | |
include('fetchcrl') | |
certmgr::certificate { "my grid hostcert": } | |
mount { "/lhcbprdata": | |
device => "/dev/vdb", | |
fstype => "ext4", | |
ensure => "mounted", | |
options => "defaults", | |
atboot => "true", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment