Skip to content

Instantly share code, notes, and snippets.

@raphink
Created June 14, 2013 08:09
Show Gist options
  • Save raphink/5780263 to your computer and use it in GitHub Desktop.
Save raphink/5780263 to your computer and use it in GitHub Desktop.
[root@raphink ~]# puppet resource yumrepo augeas-1.0.0 enabled=1 gpgcheck=0 baseurl=http://people.redhat.com/~dcleal/augeas-1.0.0-el6
yumrepo { 'augeas-1.0.0':
baseurl => 'http://people.redhat.com/~dcleal/augeas-1.0.0-el6',
enabled => '1',
gpgcheck => '0',
}
[root@raphink ~]# puppet resource package augeas ensure=installed
err: /Package[augeas]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install augeas' returned 1: Error: Nothing to do
package { 'augeas':
ensure => 'absent',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment