Type explorer fails with --dry-run (__mysql_user) #56

Closed
opened 2021-11-20 11:25:16 +00:00 by ungleich-gitea · 5 comments

When using --dry-run, the __mysql_user explorer for state is failing, as it won't find the mysql command.

When using --dry-run, the `__mysql_user` explorer for `state` is failing, as it won't find the `mysql` command.
ander was assigned by ungleich-gitea 2021-11-20 11:25:16 +00:00
Author
Owner

closed

closed
Author
Owner

closing because of no activity and not enough details

closing because of no activity and not enough details
Author
Owner
ander@limukas:~$ echo __package default-mysql-server | cdist config -i - 172.16.254.217
INFO: [3526831]: 172.16.254.217: Starting configuration run
INFO: [3526831]: 172.16.254.217: Processing __package_apt/default-mysql-server
INFO: [3526831]: 172.16.254.217: Finished successful run in 10.27 seconds
ander@limukas:~$ echo __mysql_user user --password secret | cdist config -i - 172.16.254.217 -n
INFO: [3527786]: 172.16.254.217: Starting dry run
INFO: [3527786]: 172.16.254.217: Processing __mysql_user/user
INFO: [3527786]: 172.16.254.217: Finished dry run in 0.56 seconds
ander@limukas:~$ echo __mysql_user user --password secret | cdist config -i - 172.16.254.217 
INFO: [3527980]: 172.16.254.217: Starting configuration run
INFO: [3527980]: 172.16.254.217: Processing __mysql_user/user
INFO: [3527980]: 172.16.254.217: Finished successful run in 0.65 seconds

works for me 🤷

I need more details.

``` ander@limukas:~$ echo __package default-mysql-server | cdist config -i - 172.16.254.217 INFO: [3526831]: 172.16.254.217: Starting configuration run INFO: [3526831]: 172.16.254.217: Processing __package_apt/default-mysql-server INFO: [3526831]: 172.16.254.217: Finished successful run in 10.27 seconds ander@limukas:~$ echo __mysql_user user --password secret | cdist config -i - 172.16.254.217 -n INFO: [3527786]: 172.16.254.217: Starting dry run INFO: [3527786]: 172.16.254.217: Processing __mysql_user/user INFO: [3527786]: 172.16.254.217: Finished dry run in 0.56 seconds ander@limukas:~$ echo __mysql_user user --password secret | cdist config -i - 172.16.254.217 INFO: [3527980]: 172.16.254.217: Starting configuration run INFO: [3527980]: 172.16.254.217: Processing __mysql_user/user INFO: [3527980]: 172.16.254.217: Finished successful run in 0.65 seconds ``` works for me :shrug: I need more details.
Author
Owner

I'll look into it.

I'll look into it.
Author
Owner

assigned to @ander

assigned to @ander
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#56
No description provided.