/
Installing Puppet on PicOS

Installing Puppet on PicOS

You can see an example of Puppet module to manipulate PicOS configuration on our Github repository:

https://github.com/Pica8/Configuration-Managers

 

Step 1 - Use the correct repository for the specific application and CPU on the switch. Pica8 support can help in the choice of repository.

admin@Roma$sudo more /etc/apt/sources.list | grep -v "#"
deb http://ftp.debian-ports.org/debian/ unstable main

For a typical puppet installation, the latest standard debian repo is advised.

 

Step 2 - Update the debian packages on PicOS

admin@XorPlus$sudo apt-get update
Hit http://ftp.tw.debian.org stable Release.gpg
Hit http://ftp.tw.debian.org stable Release
Hit http://ftp.tw.debian.org stable/main powerpc Packages
Hit http://ftp.tw.debian.org stable/main Translation-en
Reading package lists... Done
admin@XorPlus$

 

Step 3 - Install puppet client and configure it

sudo apt-get install puppet

Look at the puppet documentation to understand how to connect the puppet client to a puppet server. A simple installation would require at least minor modification on the puppet.conf file.

 

more /etc/puppet/puppet.conf
[agent]
server = master.local.pica8.com

 

Step 4 - Verify Puppet installation

admin@Roma$sudo puppet agent -t
Notice: Using less secure serialization of reports and query parameters for compatibility
Notice: with older puppet master. To remove this notice, please upgrade your master(s) 
Notice: to Puppet 3.3 or newer.
Notice: See http://links.puppetlabs.com/deprecate_yaml_on_network for more information.
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/instance_id.rb
Info: Caching catalog for Roma
Info: Applying configuration version '1405148228'
Notice: Finished catalog run in 0.35 seconds

 

 

Copyright © 2025 Pica8 Inc. All Rights Reserved.