Reginal,
Does it work if you put the contents of the parameter 'name' into the title
of the type:
package {'SQL Server 2008 R2 SP2 Common Files':
ensure => installed,
provider => windows,
source => "C:\\puppet_temp\\${mssql_filename}",
install_options => ['/quiet', '/IAcceptSQLServerLicenseTerms',
'/allinstances'],
require => Exec['run_mssql2008r2sp2_artifact_extract_ps1'],
}
>From http://docs.puppetlabs.com/windows/writing.html:
> Identifying Packages
>
> The title or name of the package must match the value of the
> DisplayNameproperty in the registry, which is also the value displayed in
> Add/Remove
> Programs. Alternately, when a package name is not unique across versions
> (e.g. VMWare Tools, or where there are 32- and 64-bit versions with the
> same name), we provide the ability to specify the package’s PackageCode as
> the package name. This is a GUID that’s unique across all MSI builds. For
> instance:
>
Also, what are the results from this PowerShell command:
Get-WmiObject -class win32_product | Where-Object {$_.name.contains("SQL
Server 2008")}
--
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.