Hi yarlagadda,

You can combine them in a class by surrounding your resources with a "class
the_name_of_the_class { .... }". There is more information about writing
classes and modules at http://docs.puppetlabs.com/learning/modules1.html

You might be better off asking questions like this on the puppet-users
mailing list instead of here. This list is focused on developing on puppet
itself whereas the other list is for those trying to use puppet like you.

Andy

On Tue, Jan 22, 2013 at 12:34 AM, yarlagadda ramya <[email protected]>wrote:

> these are the two manifests i wrote.
>
> exec{"/bin/mv t2.txt /opt/tcs":                               ----->for
> moving a file
> cwd =>"/opt",
>
> exec{"/bin/mv t2.txt trename.txt":                          ----->for
> renaming a file
> cwd =>"/opt/tcs",
>
> How can i combine them in a class??
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-dev/-/2NA19JXvnZYJ.
> 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.
>

-- 
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.

Reply via email to