--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/672db58c-e03b-4e60-9003-0afce7b37af8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJ%2BQ1PUihWLQK8dfL-JP7q3Shrxq8ow44hXjKuFxvn-10Jr2_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-users/e3d27c2a-4604-4c0d-9f31-d17dba05ef17%40googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJ%2BQ1PUihWLQK8dfL-JP7q3Shrxq8ow44hXjKuFxvn-10Jr2_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
# Install r10k gem and deploy control repo for this environment
/opt/puppetlabs/puppet/bin/gem install r10k --no-ri --no-rdoc
mkdir -p /etc/puppetlabs/r10k
cat > /etc/puppetlabs/r10k/r10k.yaml <<R10K
:cachedir: '/opt/puppetlabs/puppet/cache/r10k'
:sources:
:controlrepo:
remote: '${PUPPET_CONTROLREPO_URL}'
basedir: '/etc/puppetlabs/code/environments'
R10K
rm -rf /etc/puppetlabs/code/environments
/*
/opt/puppetlabs/puppet/bin
/r10k deploy environment -pv info ${PUPPET_ENVIRONMENT}
#r10k_installation.pp
Package { allow_virtual => true, } sshkey { 'github.com': type => 'ssh-rsa', key => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==', } class { 'r10k': version => '2.1.1', sources => { 'puppet' => { 'remote' => 'g...@github.com:puppetinabox/controlrepo.git', 'basedir' => $::settings::environmentpath, 'prefix' => false, }, }, manage_modulepath => false }
# bootstrap.sh snippets
mkdir -p /root/bootstrap/modules
puppet module install --modulepath=/root/bootstrap/modules zack/r10k --version 3.2.0
puppet apply --modulepath=/root/bootstrap/modules r10k_installation.pp
r10k deploy environment -p
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/51cad53b-2969-41ee-9e39-e5030286792e%40googlegroups.com.