-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > resource = Puppet::Rails::Resource.new(:type => "mytype", :title => > "mytitle", :exported => true, ... > resource.save
or use create or create! directly, depending on which behavior might fit for your codeflow. cheers pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvhH9AACgkQbwltcAfKi39ISgCgsXeRUB1DhJmuxBdWvh3qOacJ hnEAoKy9n1AzG6w5a5np81iz86tWe5p0 =xqhC -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
