Thanks! 


четверг, 19 декабря 2013 г., 17:30:30 UTC+4 пользователь zor...@gmail.com 
написал:
>
> 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/87c3b531-4904-4d54-bb8d-b429e770b39d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to