Chef

Attribute setting issue in 0.7.6 - wrong saved names?

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.7.6
  • Fix Version/s: 0.7.8
  • Component/s: None
  • Labels:
    None

Description

So I did this in some attribute code:

set_unless.ssh_host_keys.rsa = File.read("/etc/ssh/ssh_host_rsa_key")
set_unless.ssh_host_keys.rsa_pub = File.read("/etc/ssh/ssh_host_rsa_key.pub")

And when I look in the server, the saved variable names contain an equal sign (see attachment).

Activity

Hide
Adam Jacob added a comment - 09/Aug/09 8:28 PM

This was a silly oversight - you can now set attributes with = and the dot notation.

adamhjk/chef-479

Show
Adam Jacob added a comment - 09/Aug/09 8:28 PM This was a silly oversight - you can now set attributes with = and the dot notation. adamhjk/chef-479
Hide
AJ Christensen added a comment - 10/Aug/09 3:43 AM

Thanks, merged

Show
AJ Christensen added a comment - 10/Aug/09 3:43 AM Thanks, merged

People

Vote (0)
Watch (0)

Dates

  • Created:
    09/Aug/09 8:21 PM
    Updated:
    10/Aug/09 3:43 AM
    Resolved:
    09/Aug/09 8:28 PM