-
Notifications
You must be signed in to change notification settings - Fork 48
duplicated git configs #30
Comments
I'm also seeing this duplication occur each time i run boxen, when setting alias's that are a single character alias, but not for any other aliases i'm setting. git::config::global { 'alias.s': value => 'status -s' } yields: [alias] |
Confirmed that this is a bug with ini_file (which this class uses), and not something within this project itself. Was able to reproduce the same behavior with something like this: ini_setting { "setup git s alias":
ensure => present,
path => '/some/path/.gitconfig',
section => 'alias',
setting => 's',
value => 'status -s',
} |
There is a work around for me if I use |
@njia could you give an example of using the --replace-all option with this? |
This is part of my boxen Git configuration
|
This didn't work for me and my single character alias values - but I do appreciate you posting your exec statement! I'm going to change these to 2 char aliases and move on with life. |
+1 for the single character alias. |
@njia is this still an issue? |
Not sure if I am doing it wrong, here is the section of my njia.pp
when I run boxen, Boxen added these settings individually, and they are added every time I run boxed.
For example I just run boxen twice in a row and I have following settings in my .gitconfig file
The text was updated successfully, but these errors were encountered: