Re: [Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)
Hi, Just did some tests with the suggestions; class oracle_t { include oracle_t::install include oracle_t::sysctl } class oracle_t::install { package { 'oracle-rdbms-server-11gR2-preinstall': ensure => present, } } class oracle_t::sysctl { sysctl { 'kernel.shmall': ensure => present, value => '1073741820', require => Package['oracle-rdbms-server-11gR2-preinstall'], } sysctl { 'kernel.sem': ensure => present, value => '250 32000 100 129', require => Package['oracle-rdbms-server-11gR2-preinstall'], } exec { 'Preserve intermediate sysctl.conf': command => '/bin/cp -pf /etc/sysctl.conf /tmp/sysctl.conf.intermediate', require => Package['oracle-rdbms-server-11gR2-preinstall'], } -> Sysctl<||> } Before; /etc/sysctl.conf -rw-r--r--. 1 root root 1327 Jul 25 10:07 /etc/sysctl.conf kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.shmall = 4294967296 kernel.shmmax = 68719476736 kernel.sysrq = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 Puppet run; Info: Applying configuration version '1406274607' Notice: /Stage[main]/Oracle_t::Install/Package[oracle-rdbms-server-11gR2-preinstall]/ensure: created Notice: /Stage[main]/Oracle_t::Sysctl/Exec[Preserve intermediate sysctl.conf]/returns: executed successfully Notice: /Stage[main]/Oracle_t::Sysctl/Sysctl[kernel.shmall]/value: changed configuration value from '1073741824' to '1073741820' and live value from '1073741824' to '1073741820' Notice: /Stage[main]/Oracle_t::Sysctl/Sysctl[kernel.sem]/value: changed configuration value from '250 32000 100 128' to '250 32000 100 129' and live value from '25032000 100 128' to '250 32000 100 129' Notice: Finished catalog run in 58.47 seconds Diff; diff /etc/sysctl.conf /tmp/sysctl.conf.intermediate 48c48 < kernel.sem = 250 32000 100 129 --- > kernel.sem = 250 32000 100 128 55c55 < kernel.shmall = 1073741820 --- > kernel.shmall = 1073741824 After; /etc/sysctl.conf -rw-r--r--. 1 root root 2679 Jul 25 10:11 /etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 129 kernel.shmall = 1073741820 kernel.shmmax = 4398046511104 kernel.shmmni = 4096 kernel.sysrq = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.ip_local_port_range = 9000 65500 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 So 'suddenly' this works by adding the exec resource with dependencies to all sysctl resources. Removing the exec resource and changing the package resource to the following package { 'oracle-rdbms-server-11gR2-preinstall': ensure => present, }-> Sysctl<||> also works. Before; /etc/sysctl.conf -rw-r--r--. 1 root root 1327 Jul 25 10:11 /etc/sysctl.conf kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.shmall = 4294967296 kernel.shmmax = 68719476736 kernel.sysrq = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 Puppet run; Info: Applying configuration version '1406274883' Notice: /Stage[main]/Oracle_t::Install/Package[oracle-rdbms-server-11gR2-preinstall]/ensure: created Notice: /Stage[main]/Oracle_t::Sysctl/Sysctl[kernel.shmall]/value: changed configuration value from '1073741824' to '1073741820' and live value from '1073741824' to '1073741820' Notice: /Stage[main]/Oracle_t::Sysctl/Sysctl[kernel.sem]/value: changed configuration value from '250 32000 100 128' to '250 32000 100 129' and live value from '25032000 100 128' to '250 32000 100 129' Notice: Finished catalog run in 63.95 seconds After; /etc/sysctl.conf -rw-r--r--. 1 root root 2679 Jul 25 10:19 /etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 129 kernel.shmall = 1073741820 kernel.shmmax = 4398046511104 kernel.shmmni = 4096 kernel.sysrq = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.ip_local_port_range = 9000 65500 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 I still don't understand why it works now :( Stefan -- 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
Re: [Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)
Hi John/Felix, thanks for the suggestions, will try them out next week and come back with the results Stefan -- 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/15035553-e091-48d3-aae2-7dd027220427%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)
On 06/19/2014 02:12 PM, Stefan Heijmans wrote: > class oracle_t { > include install, sysctl > } FWIW, I consider this bad form. You should qualify your class names, even if you include inside the same module. include oracle_t::install include oracle_t::sysctl It's not much more to type, and is actually more readable/maintainable (arguably, I guess). Without the qualification, 'sysctl' could as well be the inital class in a sysctl module. This might even be among the reasons for your problem, although I wouldn't put any money on those odds. Regards, Felix -- 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/53C83CD5.9070500%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)
Hi, the difference is in the /etc/sysctl.conf;' Puppet module with all resources in 1 file === After; /etc/sysctl.conf -rw-r--r--. 1 root root 2679 Jun 19 12:54 /etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 128 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.shmmni = 4096 kernel.sysrq = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.ip_local_port_range = 9000 65500 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 Puppet module with all resources in 2 files === After; /etc/sysctl.conf -rw-r--r--. 1 root root 1358 Jun 19 13:05 /etc/sysctl.conf kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 128 kernel.shmall = 1073741824 kernel.shmmax = 68719476736 kernel.sysrq = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 Stefan -- 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/3de87188-3913-4852-9642-a8defa948e92%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)
On 06/19/2014 02:12 PM, Stefan Heijmans wrote: > Puppet module with all resources in 1 file > === > ... > kernel.sem is available in /etc/sysctl.conf > kernel.sem = 250 32000 100 128 > kernel.shmall is available in /etc/sysctl.conf > kernel.shmall = 1073741824 > > Puppet module with all resources in 2 files > === > ... > kernel.sem is available in /etc/sysctl.conf > kernel.sem = 250 32000 100 128 > kernel.shmall is available in /etc/sysctl.conf > kernel.shmall = 1073741824 > > > So, > with Puppet module and resources in 1 file; > - sysctl resources are not set > - /etc/sysctl.conf updates from the rpm are there > > with Puppet module and resources in 2 files; > - sysctl resources are set > - /etc/sysctl.conf updates from rpm are somehow removed > I don't get it. The results you posted are identical for both variants, yes? Moreover, they seem to reflect your manifest to the letter. What is the issue? Thanks, Felix -- 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/53C6859A.8070102%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Puppet module 'issue' with sysctl provider (augeasproviders)
Hello, I've got 'something strange' with a Puppet module, using augeasproviders (v1.2.0 or master branch of today) on Puppet 3.6.2 Below a stripped version of it with the same results as the full version; It installs an Oracle preinstall rpm which also updates /etc/sysctl.conf settings and use augeasproviders sysctl resource to watch these settings. Puppet module with all resources in 1 file === init:pp === class oracle_t { include single } install.pp == class oracle_t::single { package { 'oracle-rdbms-server-11gR2-preinstall': ensure => present, } sysctl { 'kernel.shmall': ensure => present, value => '1073741824', require => Package['oracle-rdbms-server-11gR2-preinstall'], } sysctl { 'kernel.sem': ensure => present, value => '250 32000 100 128', require => Package['oracle-rdbms-server-11gR2-preinstall'], } } Before; /etc/sysctl.conf -rw-r--r--. 1 root root 1327 Jun 19 12:49 /etc/sysctl.conf kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.shmall = 4294967296 kernel.shmmax = 68719476736 kernel.sysrq = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 kernel.sem is *not* available in /etc/sysctl.conf kernel.shmall is available in /etc/sysctl.conf kernel.shmall = 4294967296 Puppet run; Info: Applying configuration version '1403175278' Notice: /Stage[main]/Oracle_t::Single/Package[oracle-rdbms-server-11gR2-preinstall]/ensure: created Notice: Finished catalog run in 55.02 seconds After; /etc/sysctl.conf -rw-r--r--. 1 root root 2679 Jun 19 12:54 /etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 128 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.shmmni = 4096 kernel.sysrq = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.ip_local_port_range = 9000 65500 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 kernel.sem is available in /etc/sysctl.conf kernel.sem = 250 32000 100 128 kernel.shmall is available in /etc/sysctl.conf kernel.shmall = 1073741824 Now I remove the rpm and use this module; Puppet module with all resources in 2 files === init:pp === class oracle_t { include install, sysctl } install.pp == class oracle_t::install { package { 'oracle-rdbms-server-11gR2-preinstall': ensure => present, } } sysctl.pp = class oracle_t::sysctl { sysctl { 'kernel.shmall': ensure => present, value => '1073741824', require => Package['oracle-rdbms-server-11gR2-preinstall'], } sysctl { 'kernel.sem': ensure => present, value => '250 32000 100 128', require => Package['oracle-rdbms-server-11gR2-preinstall'], } } Before: /etc/sysctl.conf -rw-r--r--. 1 root root 1327 Jun 19 13:03 /etc/sysctl.conf kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.shmall = 4294967296 kernel.shmmax = 68719476736 kernel.sysrq = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 kernel.sem is *not* available in /etc/sysctl.conf kernel.shmall is available in /etc/sysctl.conf kernel.shmall = 4294967296 puppet run; Info: Applying configuration version '1403175921' Notice: /Stage[main]/Oracle_t::Install/Package[oracle-rdbms-server-11gR2-preinstall]/ensure: created Notice: /Stage[main]/Oracle_t::Sysctl/Sysctl[kernel.shmall]/value: changed configuration value from '4294967296' to '1073741824' Notice: /Stage[main]/Oracle_t::Sysctl/Sysctl[kernel.sem]/ensure: created Notice: Finished catalog run in 46.29 seconds After; /etc/sysctl.conf -rw-r--r--. 1 root root 1358 Jun 19 13:05 /etc/sysctl.conf kernel.core_uses_pid = 1 kernel.msgmax = 65536 kernel.msgmnb = 65536 kernel.sem = 250 32000 100 128 kernel.shmall = 1073741824 kernel.shmmax = 68719476736 kernel.sysrq = 1 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.disable_ipv6 = 1 kernel.sem is available in /etc/sysctl.conf kernel.sem = 250 32000 100 128 kernel.shmall is available in /etc/sysctl.conf kernel.shmall = 1073741824 So, with Puppet module and resources in 1 file; - sysctl resources are not set - /etc/sysctl.conf updates from the rpm are there with Puppet module and resources in 2 files; - sysctl resources are set - /etc/sysctl.conf updates from rpm are somehow removed And I have no idea why :( Thanks, Stefan -- You received this message because
Re: [Puppet Users] puppet module issue
so how do you get the db.pp to work? On Friday, February 22, 2013 12:31:01 PM UTC-5, joe wrote: > > WIth the puppet module structure, you don't import any pp files from the > modules ever. You only use include. > > If you look at the github for the module, it explains which classes do > what. > https://github.com/puppetlabs/puppetlabs-mysql > > The base class (mysql) only installs the client. mysql::server will > install mysql-server and there are other classes for setting up databases > and such. > > Include the ones you need in your node definitions, not in site.pp > > On Friday, February 22, 2013 9:59:20 AM UTC-7, Raymond Regnier wrote: >> >> So I'm just trying to run the mysql module and have all of my clients >> pick it up >> >> for example I've created my own httpd and iptables modules and I have >> them include in my site.pp file.. however both of those modules just have a >> init.pp under their respective manifest directory. >> >> They run fine when each client completes its pull from the master.. the >> clients get httpd and iptables installed. >> >> So I downloaded the already created mysql module. >> Its under my /etc/puppet/modules/mysql directory >> >> under that directory is a manifests directory which contains a whole lot >> of .pp files including a init.pp file which installs just mysql.. the other >> pp files install like mysql-server and other packages >> however when I put in my site.pp file when I have the clients pull from >> the master they only pick up mysql as it should from the mysql module's >> init.pp file.. however it doesn't do anything else.. It seems as if the >> clients don't see the other pp files to execute or do anything.. >> >> is it because of my site.pp file? should i have import modules at the top >> of the file? or list each one like >> include mysql >> include mysql::server >> >> does this make sense? >> >> On Friday, February 22, 2013 11:52:36 AM UTC-5, Felix.Frank wrote: >>> >>> On 02/22/2013 05:43 PM, Raymond Regnier wrote: >>> > Hi, >>> > >>> > No i'm trying to have puppet run all of the pp files under the >>> module's >>> > manifest directory >>> > all it does is run init.pp >>> > >>> > could it be because I'm not specifying every specifc pp file in my >>> > site.pp file on the master? >>> >>> But that's the thing - you don't "run" a manifest file. Puppet uses the >>> files to find declarations of types and classes. >>> >>> What exactly are you trying and failing? >>> >> -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
so my site.pp looks like this node default { include httpd include iptables i*nclude mysql include mysql::server* then on my node.pp file i have node "my ipdaddress here" { include httpd include iptables include mysql so from my site.pp file if I do not have include mysql::server then it will not pull the server.pp file... On Friday, February 22, 2013 12:31:01 PM UTC-5, joe wrote: > > WIth the puppet module structure, you don't import any pp files from the > modules ever. You only use include. > > If you look at the github for the module, it explains which classes do > what. > https://github.com/puppetlabs/puppetlabs-mysql > > The base class (mysql) only installs the client. mysql::server will > install mysql-server and there are other classes for setting up databases > and such. > > Include the ones you need in your node definitions, not in site.pp > > On Friday, February 22, 2013 9:59:20 AM UTC-7, Raymond Regnier wrote: >> >> So I'm just trying to run the mysql module and have all of my clients >> pick it up >> >> for example I've created my own httpd and iptables modules and I have >> them include in my site.pp file.. however both of those modules just have a >> init.pp under their respective manifest directory. >> >> They run fine when each client completes its pull from the master.. the >> clients get httpd and iptables installed. >> >> So I downloaded the already created mysql module. >> Its under my /etc/puppet/modules/mysql directory >> >> under that directory is a manifests directory which contains a whole lot >> of .pp files including a init.pp file which installs just mysql.. the other >> pp files install like mysql-server and other packages >> however when I put in my site.pp file when I have the clients pull from >> the master they only pick up mysql as it should from the mysql module's >> init.pp file.. however it doesn't do anything else.. It seems as if the >> clients don't see the other pp files to execute or do anything.. >> >> is it because of my site.pp file? should i have import modules at the top >> of the file? or list each one like >> include mysql >> include mysql::server >> >> does this make sense? >> >> On Friday, February 22, 2013 11:52:36 AM UTC-5, Felix.Frank wrote: >>> >>> On 02/22/2013 05:43 PM, Raymond Regnier wrote: >>> > Hi, >>> > >>> > No i'm trying to have puppet run all of the pp files under the >>> module's >>> > manifest directory >>> > all it does is run init.pp >>> > >>> > could it be because I'm not specifying every specifc pp file in my >>> > site.pp file on the master? >>> >>> But that's the thing - you don't "run" a manifest file. Puppet uses the >>> files to find declarations of types and classes. >>> >>> What exactly are you trying and failing? >>> >> -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
WIth the puppet module structure, you don't import any pp files from the modules ever. You only use include. If you look at the github for the module, it explains which classes do what. https://github.com/puppetlabs/puppetlabs-mysql The base class (mysql) only installs the client. mysql::server will install mysql-server and there are other classes for setting up databases and such. Include the ones you need in your node definitions, not in site.pp On Friday, February 22, 2013 9:59:20 AM UTC-7, Raymond Regnier wrote: > > So I'm just trying to run the mysql module and have all of my clients pick > it up > > for example I've created my own httpd and iptables modules and I have them > include in my site.pp file.. however both of those modules just have a > init.pp under their respective manifest directory. > > They run fine when each client completes its pull from the master.. the > clients get httpd and iptables installed. > > So I downloaded the already created mysql module. > Its under my /etc/puppet/modules/mysql directory > > under that directory is a manifests directory which contains a whole lot > of .pp files including a init.pp file which installs just mysql.. the other > pp files install like mysql-server and other packages > however when I put in my site.pp file when I have the clients pull from > the master they only pick up mysql as it should from the mysql module's > init.pp file.. however it doesn't do anything else.. It seems as if the > clients don't see the other pp files to execute or do anything.. > > is it because of my site.pp file? should i have import modules at the top > of the file? or list each one like > include mysql > include mysql::server > > does this make sense? > > On Friday, February 22, 2013 11:52:36 AM UTC-5, Felix.Frank wrote: >> >> On 02/22/2013 05:43 PM, Raymond Regnier wrote: >> > Hi, >> > >> > No i'm trying to have puppet run all of the pp files under the module's >> > manifest directory >> > all it does is run init.pp >> > >> > could it be because I'm not specifying every specifc pp file in my >> > site.pp file on the master? >> >> But that's the thing - you don't "run" a manifest file. Puppet uses the >> files to find declarations of types and classes. >> >> What exactly are you trying and failing? >> > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
So I'm just trying to run the mysql module and have all of my clients pick it up for example I've created my own httpd and iptables modules and I have them include in my site.pp file.. however both of those modules just have a init.pp under their respective manifest directory. They run fine when each client completes its pull from the master.. the clients get httpd and iptables installed. So I downloaded the already created mysql module. Its under my /etc/puppet/modules/mysql directory under that directory is a manifests directory which contains a whole lot of .pp files including a init.pp file which installs just mysql.. the other pp files install like mysql-server and other packages however when I put in my site.pp file when I have the clients pull from the master they only pick up mysql as it should from the mysql module's init.pp file.. however it doesn't do anything else.. It seems as if the clients don't see the other pp files to execute or do anything.. is it because of my site.pp file? should i have import modules at the top of the file? or list each one like include mysql include mysql::server does this make sense? On Friday, February 22, 2013 11:52:36 AM UTC-5, Felix.Frank wrote: > > On 02/22/2013 05:43 PM, Raymond Regnier wrote: > > Hi, > > > > No i'm trying to have puppet run all of the pp files under the module's > > manifest directory > > all it does is run init.pp > > > > could it be because I'm not specifying every specifc pp file in my > > site.pp file on the master? > > But that's the thing - you don't "run" a manifest file. Puppet uses the > files to find declarations of types and classes. > > What exactly are you trying and failing? > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
On 02/22/2013 05:43 PM, Raymond Regnier wrote: > Hi, > > No i'm trying to have puppet run all of the pp files under the module's > manifest directory > all it does is run init.pp > > could it be because I'm not specifying every specifc pp file in my > site.pp file on the master? But that's the thing - you don't "run" a manifest file. Puppet uses the files to find declarations of types and classes. What exactly are you trying and failing? -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
No I'm trying to have it run all pp files under the module's manifest directory.. its only just running init.pp.. could it be because I haven't listed each individual pp file under my site.pp file ? On Friday, February 22, 2013 11:38:13 AM UTC-5, Felix.Frank wrote: > > Hi, > > On 02/22/2013 05:21 PM, Raymond Regnier wrote: > > Hello, > > > > I've installed the puppet module mysql however I'm noticing its only > > reading the init.pp when puppet does its run.. For some reason its > > ignoring all of the other pp files in under the directory such as the > > backup.pp,sever.pp or ruby.pp > > > > what am I doing wrong.. I even run a puppet apply on the individual pp > > files however they do not run > > what do you expect to happen when you apply a single manifest file from > a module? > > The classes and types defined in the individual files only take effect > when you include the classes or use the defined types. Does that not > work for you? > > Regards, > Felix > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
Hi, No i'm trying to have puppet run all of the pp files under the module's manifest directory all it does is run init.pp could it be because I'm not specifying every specifc pp file in my site.pp file on the master? On Fri, Feb 22, 2013 at 11:38 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > On 02/22/2013 05:21 PM, Raymond Regnier wrote: > > Hello, > > > > I've installed the puppet module mysql however I'm noticing its only > > reading the init.pp when puppet does its run.. For some reason its > > ignoring all of the other pp files in under the directory such as the > > backup.pp,sever.pp or ruby.pp > > > > what am I doing wrong.. I even run a puppet apply on the individual pp > > files however they do not run > > what do you expect to happen when you apply a single manifest file from > a module? > > The classes and types defined in the individual files only take effect > when you include the classes or use the defined types. Does that not > work for you? > > Regards, > Felix > > -- > 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 post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Raymond Regnier Mobile (202) 716-9898 raymondregn...@gmail.com rayregn...@yahoo.com -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] puppet module issue
Hi, On 02/22/2013 05:21 PM, Raymond Regnier wrote: > Hello, > > I've installed the puppet module mysql however I'm noticing its only > reading the init.pp when puppet does its run.. For some reason its > ignoring all of the other pp files in under the directory such as the > backup.pp,sever.pp or ruby.pp > > what am I doing wrong.. I even run a puppet apply on the individual pp > files however they do not run what do you expect to happen when you apply a single manifest file from a module? The classes and types defined in the individual files only take effect when you include the classes or use the defined types. Does that not work for you? Regards, Felix -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] puppet module issue
Hello, I've installed the puppet module mysql however I'm noticing its only reading the init.pp when puppet does its run.. For some reason its ignoring all of the other pp files in under the directory such as the backup.pp,sever.pp or ruby.pp what am I doing wrong.. I even run a puppet apply on the individual pp files however they do not run I have other modules but they only contain one file under the /manifest directory the init.pp so that always runs please help Thanks -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.