Puppet File Configuration Example


1) Create a new directory or file (with content) node "UT-9c8e99e3959e"{ file { "/tmp/test_directory": ensure => "directory", owner  => "root", group  => "root", mode   => 755,} file { "/tmp/test_directory/test_file": ensure => "present", content => "puppet test" owner  => "jchen", group  => "jchen", mode   => 755,} } Example: generic@UT-9c8e99e3959e:/tmp$ sudo puppet agent --test info: Caching catalog … Continue reading Puppet File Configuration Example

Puppet Package Configuration Examples


1) Install the xpad package node "UT-9c8e99e3959e"{ package { "xpad": ensure => "installed"} } Example: generic@UT-9c8e99e3959e:~$ dpkg-query -l xpad dpkg-query: no packages found matching xpad generic@UT-9c8e99e3959e:~$ sudo puppet agent --test info: Caching catalog for ut-9c8e99e3959e info: Applying configuration version '1361592519' notice: /Stage[main]//Node[ut-9c8e99e3959e]/Package[xpad]/ensure: ensure changed 'purged' to 'present' notice: Finished catalog run in 18.87 seconds generic@UT-9c8e99e3959e:~$ … Continue reading Puppet Package Configuration Examples

Blogilo Proxy Settings


To make Blogilo work behind a proxy, I edited this file ~/.kde/share/config/kioslaverc in my Ubuntu laptop (there is no proxy settings in the Blogilo UI).[$Version]update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3[Proxy Settings][$i] ProxyType=1 httpProxy=http://proxy-server:8080httpsProxy=http://proxy-server:8080ftpProxy=http://proxy-server:8080