Hi Reginald,

On Fri, Jun 7, 2013 at 7:54 AM, Reginald Choudari <
[email protected]> wrote:

> Hello,
>
> I've got Package resource on my Windows machine that keeps creating itself
> even though the package has been properly installed.
>
> I've got the name attribute set to the DisplayName found in the Registry
> for the package.
>
> Every time the agent polls, I see in the Event Logs:
>
> /Stage[main]/Mssql_rtwo_sptwo/Package[mssql2008r2sp2_exec]/ensure: created
>
> This is what's in my manifest:
>
> package { 'mssql2008r2sp2_exec':
>     ensure          => installed,
>     name            => 'SQL Server 2008 R2 SP2 Common Files',
>     provider        => windows,
>     source          => "C:\\puppet_temp\\${mssql_filename}",
>     install_options => ['/quiet', '/IAcceptSQLServerLicenseTerms',
> '/allinstances'],
>     require         => Exec['run_mssql2008r2sp2_artifact_extract_ps1'],
>   }
>
> I'm thinking there has got to be some weird bug/error with this ... Can
> anyone help?
>
> Thanks in advance
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

Try running `puppet resource package` and see if the package you tried to
installed is in the output, and that it's name matches exactly with the
`name` parameter above.

Josh

-- 
Josh Cooper
Developer, Puppet Labs

*Join us at PuppetConf 2013, August 22-23 in San Francisco - *
http://bit.ly/pupconf13*
**Register now and take advantage of the Early Bird discount - save 25%!*

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to