Hello all,
I upgraded my foreman from 1.2.3 to 1.3.2 and I have some issues:
On v1.2.3 my variable was like that:
enable: true
access_list:
- "+ : user1 : ALL"
- "+ : user2 : ALL"
on v1.3.2:
enable: true
access_list:
- ! '+ : user1 : ALL'
- ! '+ : user2 : ALL'
Anybody had this issue?
thanks
> Hello all,
>
> I upgraded my foreman from 1.2.3 to 1.3.2 and I have some issues:
>
I don't think this is a problem. I've done some tests (shown below) that
show it's just an artifact of YAML rendering:
> On v1.2.3 my variable was like that:
> enable: true
> access_list:
> - "+ : user1 : ALL"
> - "+ : user2 : ALL"
>
> YAML.load( " access_list: \n - "+ : user1 : ALL"\n - "+ :
user2 : ALL"\n")
=> {"access_list"=>["+ : user1 : ALL", "+ : user2 : ALL"]}
on v1.3.2:
> enable: true
> access_list:
> - ! '+ : user1 : ALL'
> - ! '+ : user2 : ALL'
>
> YAML.load( "access_list:\n- ! '+ : user1 : ALL'\n- ! '+ : user2 :
ALL'\n")
=> {"access_list"=>["+ : user1 : ALL", "+ : user2 : ALL"]}
Those two hashes look identical to me - are there any actualy errors being
caused by it?
ยทยทยท
On 14 January 2014 10:25, Pierre-Emmanuel Dutang wrote:
Hello,
My real problem is if I modify something like:
enable: true
access_list:
- ! '+ : user1 : ALL'
- ! '+ : user2 : ALL'
- '+ : user2 : ALL'
and I don't put the !, it doesn't work. Also if I want to remove all ! and
I submit, nothing happen and my variable doesn't change.