[Puppet Users] rspec-puppet: mocking included params class in defines

2013-12-24 Thread vkanakala
Hi all,

I'm trying to test a defined type that looks like this:

define app_setup::app($app_name = $title) {
  include app_setup::params

  $app_host   = $app_setup::params::app_hosts[$app_name]['url']
  $app_port   = $app_setup::params::app_hosts[$app_name]['port']
  $deploy_user= $app_setup::params::deploy_user

   ...
}

And I'm trying to write a spec like this:

describe 'app_setup::app', :type = :define do
  let(:title) { 'some_app_name' }

end

My question is, how can I assign the values of 
$app_setup::params::app_hosts in the spec? I tried several combinations of 
'let' but didn't work.

Thanks,
Vamsee.


-- 
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/6b1ca94d-97b6-4e1b-8c62-5b5ed1478705%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] [X-POST][ANN] DevOpsDays India 2013

2013-10-17 Thread vkanakala
Hi all, 




This year we are hosting third DevOpsDays India in Bangalore on November   

 
16th and 17th. It's a single track two days conference. 



The CFP and registrations for the event are open. You can find more about   


the event at http://devopsdays.org/events/2013-india/registration/ and 

 
register at http://devopsdaysindia.doattend.com/   

 


--
Vamsee.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Puppet Forge max upload size?

2013-09-05 Thread vkanakala
Hello,

Can somebody here pass on the question to puppetforge maintainers please? 
I'm trying to upload a new release of my module which is about 25MB, but 
I'm getting an nginx error saying the size is too large. But the default 
install case for my module needs the bunch of jar files that come along 
with the stable release of the original software (solr). Can somebody tell 
me what is the max allowed size please? Is there any way to raise the 
upload size limit?

Thanks,
Vamsee.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.