Re: [Puppet Users] Installing the package dependencies
Hi, it's possible that apt-get from the console uses a different configuration than what puppet performs. Specifically, if puppet is installing recommended packages and your commandline is not, that could lead to the difference in behavior you are observing. In any case, you may want to check your apt configuration and disable the automatic installation of recommended packages. HTH, Felix On 12/19/2013 02:30 PM, zorr...@gmail.com wrote: > I am sure that these packages were installed pupped tonnes to his work > these packages were not. > If you put the packages manually (via apt-get) install apache does not > occur. > How pupped installs apache? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52B6198C.6020308%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Installing the package dependencies
hi. I have here a site.pp file: root@puppet:/var/puppet/etc/manifests# cat /etc/puppet/puppet.conf [main] confdir=/var/puppet/etc logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates #masterlog=/var/log/puppet/puppetmaster.log #puppetdlog=$logdir/puppetd.log #[master] #certname = puppet.office [dev] manifest = /tmp/1.pp root@puppet:/var/puppet/etc/manifests# cat /tmp/1.pp package { php5-apc: ensure => installed } package { php5-cli: ensure => installed } package { php5-common: ensure => installed } package { php5-curl: ensure => installed } package { php5-dev: ensure => installed } package { php5-fpm: ensure => installed } package { php5-gd: ensure => installed } package { php5-imap: ensure => installed } package { php5-mcrypt: ensure => installed } package { php5-memcache: ensure => installed } package { php5-mysqlnd: ensure => installed } package { php5-pinba: ensure => installed } package { php5-redis: ensure => installed } root@puppet:/var/puppet/etc/manifests# Packages are installed via provider apt repository dotdeb. After installation, produced using pupped I find packages apache: root@web2-dev:~# puppet agent --environment dev --test Info: Retrieving plugin Info: Caching catalog for web2-dev.sapato Info: Applying configuration version '1387459329' Notice: /Stage[main]//Package[php5-gd]/ensure: created Notice: /Stage[main]//Package[php5-apc]/ensure: created Notice: /Stage[main]//Package[php5-common]/ensure: created Notice: /Stage[main]//Package[php5-mcrypt]/ensure: created Notice: /Stage[main]//Package[php5-memcache]/ensure: created Notice: /Stage[main]//Package[php5-pinba]/ensure: created Notice: /Stage[main]//Package[php5-fpm]/ensure: created Notice: /Stage[main]//Package[php5-curl]/ensure: created Notice: /Stage[main]//Package[php5-imap]/ensure: created Notice: /Stage[main]//Package[php5-mysqlnd]/ensure: created Notice: /Stage[main]//Package[php5-redis]/ensure: created Notice: /Stage[main]//Package[php5-cli]/ensure: created Notice: /Stage[main]//Package[php5-dev]/ensure: ensure changed 'purged' to 'present' Notice: Finished catalog run in 30.67 seconds root@web2-dev:~# dpkg -l | grep apache ii apache2-mpm-prefork 2.2.16-6+squeeze11 Apache HTTP Server - traditional non-threaded model ii apache2-utils 2.2.16-6+squeeze11 utility programs for webservers ii apache2.2-bin 2.2.16-6+squeeze11 Apache HTTP Server common binary files ii apache2.2-common 2.2.16-6+squeeze11 Apache HTTP Server common files ii libapache2-mod-php5filter 5.4.23-1~dotdeb.0 server-side, HTML-embedded scripting language (apache 2 filter module) root@web2-dev:~# root@web2-dev:~# aptitude show apache2-utils Package: apache2-utils State: installed Automatically installed: yes Version: 2.2.16-6+squeeze11 Priority: optional Section: httpd Maintainer: Debian Apache Maintainers Uncompressed Size: 344 k Depends: libapr1 (>= 1.2.7), libaprutil1 (>= 1.2.7+dfsg), libc6 (>= 2.4), libssl0.9.8 (>= 0.9.8m-1) Conflicts: apache-common (< 1.3.28.0.1-1) Replaces: apache-utils (< 1.3.33-4), apache2-common I am sure that these packages were installed pupped tonnes to his work these packages were not. If you put the packages manually (via apt-get) install apache does not occur. How pupped installs apache? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4ea114cf-2db0-49b8-837e-00d93ee93d74%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.