Ask Your Question
0

Special characters on package name

asked 2016-01-13 07:41:56 -0500

Puppet-user gravatar image

updated 2016-01-15 00:37:47 -0500

I'm trying to install Skype to Windows using package type:

 package { 'Skype[TM symbol here] 7.5':
              ensure     => "$skype_version",
              source     => "$fileserver\\$skype_installer",
 }

This installs Skype. But Skype gets installed with like name like this: Skype[Trademark symbol] 7.5

This is how program name appears on Windows list of installed programs: image description

Because of this Puppet thinks that Skype is not installed and tries to reinstall it on every run.

How can I write this Trademark symbol to the package name on Puppet manifest so that would know that the package already exists?

edit retag flag offensive close merge delete

Comments

I would need to see your code. I can't see from this where the 'Trademark symbol' is being entered.

Alex Harvey gravatar imageAlex Harvey ( 2016-01-13 20:25:59 -0500 )edit

Ok, I tried to clarify it and updated the post.

Puppet-user gravatar imagePuppet-user ( 2016-01-14 00:27:08 -0500 )edit

I understand now, unfortunately I don't know.

Alex Harvey gravatar imageAlex Harvey ( 2016-01-15 06:04:34 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-01-19 14:01:54 -0500

MichaelSmith gravatar image

updated 2016-01-19 14:02:28 -0500

It's likely done with the unicode TM (™) symbol. So you'd need to make sure your file is saved in a UTF format and use the TM symbol. I can't tell from the description if you're doing that.

Other tips are available at https://docs.puppetlabs.com/puppet/4....packagewindows.html.

edit flag offensive delete link more

Comments

Thanks, changing the file format allowed to Puppet to recognise the symobol.

Puppet-user gravatar imagePuppet-user ( 2016-01-26 02:21:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-13 07:41:56 -0500

Seen: 137 times

Last updated: Jan 19 '16