Hi Puppeteers,

I wonder if anyone else has seen or fixed this issue - I find that when I 
provision new servers, after the first run I have to manually re-run 
'apt-get install puppet', as it gets removed.  Nothing in the puppet log, 
however in the aptitude log there is an entry like the below (terse - see 
end of post).  It seems that when aptitude installs bind9, it decides to 
remove puppets dependencies because they're not in use, and then remove 
puppet because it's a dependency of them.  

My bind9 module is pretty simple, and the only packages it specifies are 
simply:

    package { "bind9":
        ensure  => installed,
        require => User [ "bind" ],
    }
    package { "bind9utils":
            ensure  => installed,
            require => Package["bind9"];
    }


I'm running 'puppet apply' against a git clone of our repository rather 
than a master/agent.


It only seems to happen once, but this is a bit of a concern for me - I can 
recover from pretty much anything else by relying on puppet, but when the 
puppet package is removed?  Iiieeeeee....




Aptitude log:




Aptitude 0.6.4: log report
Wed, Jul  4 2012 23:37:40 +0000

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 8 packages, and remove 17 packages.
15.9 MB of disk space will be freed
===============================================================================
[REMOVE, NOT USED] augeas-lenses
[REMOVE, NOT USED] libaugeas-ruby1.8
[REMOVE, NOT USED] libaugeas0
[REMOVE, NOT USED] libreadline5
[REMOVE, NOT USED] libruby
[REMOVE, NOT USED] libruby1.8
[REMOVE, NOT USED] libshadow-ruby1.8
[REMOVE, NOT USED] ruby
[REMOVE, NOT USED] ruby1.8
[HOLD, DEPENDENCIES] gir1.2-gudev-1.0
[HOLD, DEPENDENCIES] libgudev-1.0-0
[HOLD, DEPENDENCIES] libmagickcore3
[HOLD, DEPENDENCIES] libmysqlclient16
[HOLD, DEPENDENCIES] libpq5
[HOLD, DEPENDENCIES] libsnmp-base
[HOLD, DEPENDENCIES] libsnmp15
[HOLD, DEPENDENCIES] libwbclient0
[HOLD, DEPENDENCIES] mysql-common
[HOLD, DEPENDENCIES] samba-common
[HOLD, DEPENDENCIES] samba-common-bin
[HOLD, DEPENDENCIES] smbclient
[HOLD, DEPENDENCIES] snmp
[INSTALL, DEPENDENCIES] bind9utils
[REMOVE, DEPENDENCIES] avahi-daemon
[REMOVE, DEPENDENCIES] bind9-host
[REMOVE, DEPENDENCIES] dnsutils
[REMOVE, DEPENDENCIES] facter
[REMOVE, DEPENDENCIES] libnss-mdns
[REMOVE, DEPENDENCIES] puppet
[REMOVE, DEPENDENCIES] puppet-common
[REMOVE, DEPENDENCIES] ubuntu-standard
[HOLD] accountsservice
[HOLD] apparmor
[HOLD] apt
[HOLD] apt-transport-https
[HOLD] apt-utils
[HOLD] cloud-init
[HOLD] dpkg
[HOLD] grub-legacy-ec2
[HOLD] gzip
[HOLD] landscape-client
[HOLD] landscape-common
[HOLD] libaccountsservice0
[HOLD] libapt-inst1.3
[HOLD] libapt-pkg4.11
[HOLD] libc-bin
[HOLD] libc6
[HOLD] libfreetype6
[HOLD] libgnutls26
[HOLD] libpng12-0
[HOLD] libssl1.0.0
[HOLD] libtasn1-3
[HOLD] libudev0
[HOLD] libxml2
[HOLD] linux-firmware
[HOLD] linux-image-3.0.0-16-virtual
[HOLD] linux-image-virtual
[HOLD] linux-virtual
[HOLD] lxcguest
[HOLD] mawk
[HOLD] multiarch-support
[HOLD] nagios-nrpe-server
[HOLD] openssl
[HOLD] perlmagick
[HOLD] python-crypto
[HOLD] python-httplib2
[HOLD] python-pam
[HOLD] python-pkg-resources
[HOLD] python-software-properties
[HOLD] sudo
[HOLD] tzdata
[HOLD] ubuntu-minimal
[HOLD] udev
[HOLD] update-manager-core
[HOLD] upstart
[HOLD] vim
[HOLD] vim-common
[HOLD] vim-runtime
[HOLD] vim-tiny
[INSTALL] bind9
[UPGRADE] libbind9-60 1:9.7.3.dfsg-1ubuntu4.1 -> 1:9.7.3.dfsg-1ubuntu4.2
[UPGRADE] libdns69 1:9.7.3.dfsg-1ubuntu4.1 -> 1:9.7.3.dfsg-1ubuntu4.2
[UPGRADE] libisc62 1:9.7.3.dfsg-1ubuntu4.1 -> 1:9.7.3.dfsg-1ubuntu4.2
[UPGRADE] libisccc60 1:9.7.3.dfsg-1ubuntu4.1 -> 1:9.7.3.dfsg-1ubuntu4.2
[UPGRADE] libisccfg62 1:9.7.3.dfsg-1ubuntu4.1 -> 1:9.7.3.dfsg-1ubuntu4.2
[UPGRADE] liblwres60 1:9.7.3.dfsg-1ubuntu4.1 -> 1:9.7.3.dfsg-1ubuntu4.2
===============================================================================

Log complete.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/QBeyPF6NQjEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to