0% found this document useful (0 votes)
13 views

puppet

Puppet Srv.

Uploaded by

repscun
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

puppet

Puppet Srv.

Uploaded by

repscun
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

sudo apt-get install wget

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

https://www.google.com/chrome/next-steps.html?statcb=0&installdataindex=empty&de
faultbrowser=0#

sudo dpkg -i google-chrome-stable_current_amd64.deb

sudo apt --fix-broken install

exec { 'sentencia wget' :


command => '/usr/bin/sudo apt-get install wget'

node 'agente' {

include updates
include apps

node 'desarrollo' {
include updates
include apps
}

node 'telesales' {
include updates
include apps

Password: $LZa5lbtE0

'https://www.unixdaemon.net/index.xml':
sudo /opt/puppetlabs/bin/puppet módulo instalar maestrodev-wget

--------------------------
sudo /opt/puppetlabs/bin/puppet agent --test

cd /etc/puppetlabs/code/environments/production/modules
cd /etc/puppetlabs/code/environments/production/manifests
---------------------------------------------------------
include 'google_chrome'
class { 'google_chrome':
version => 'unstable',
}

class { 'google_chrome':
ensure => 'installed',
version => 'unstable',
package_name => 'google-chrome',
repo_gpg_key => 'https://dl.google.com/linux/linux_signing_key.pub',
repo_gpg_key_id => '4CCA1EAF950CEE4AB83976DCA040830F7FAC5991',
repo_gpg_key_options =>
'http-proxy="http://proxyuser:[email protected]:3128"',
repo_name => 'google-chrome',
defaults_file => '/etc/default/google-chrome',
defaults_proxy_pac_url => 'http://foo/bar/proxy.pac',
repo_base_url =>
'https://dl.google.com/linux/chrome/rpm/stable/x86_64'
}

You might also like