Josh sutton
2013-Jun-10 17:43 UTC
[Puppet Users] Best way to add APC and change size of apc.shm_size
Hello!! I am a new user to puppet and I need to use puppet to install apc and change the size of apc.shm_size to 64. I have found a module here: https://github.com/ridonkulous/puppet-apc However, when I add the module in, it does not work. I get errors on the puppet code. Is there a way to just install the apc package normally and just use puppet code to change apc.shm_size? Thanks in advance for your help Josh -- 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+unsubscribe@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.
llowder
2013-Jun-10 20:09 UTC
[Puppet Users] Re: Best way to add APC and change size of apc.shm_size
On Monday, June 10, 2013 12:43:12 PM UTC-5, Josh sutton wrote:> > Hello!! > I am a new user to puppet and I need to use puppet to install apc and > change the size of apc.shm_size to 64. > > I have found a module here: https://github.com/ridonkulous/puppet-apc > However, when I add the module in, it does not work. I get errors on the > puppet code. > >Can you show your code and the actual error?> Is there a way to just install the apc package normally and just use > puppet code to change apc.shm_size? > >Several, such as using a package resource and then using one of: file, file_line or augeas to edit the config file and change the value(s).> Thanks in advance for your help > > > > > Josh >-- 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+unsubscribe@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.
Josh sutton
2013-Jun-11 21:42 UTC
[Puppet Users] Re: Best way to add APC and change size of apc.shm_size
Ok, Thanks for the response but I figured it out. php::module { [ ''pecl-apc'', ''xml'' ]: } php::module::ini { ''pecl-apc'': settings => { ''apc.enabled'' => ''1'', ''apc.shm_segments'' => ''1'', ''apc.shm_size'' => ''64'', } } On Monday, June 10, 2013 12:43:12 PM UTC-5, Josh sutton wrote:> > Hello!! > I am a new user to puppet and I need to use puppet to install apc and > change the size of apc.shm_size to 64. > > I have found a module here: https://github.com/ridonkulous/puppet-apc > However, when I add the module in, it does not work. I get errors on the > puppet code. > > Is there a way to just install the apc package normally and just use > puppet code to change apc.shm_size? > > Thanks in advance for your help > > > > > Josh >-- 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+unsubscribe@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.