Pulumi At Its Best
1:47
2 ай бұрын
CICD As Code - Dagger
1:02
3 ай бұрын
Extending CDKTF with... Code
3:45
CDKTFs BIGGEST problem
8:58
4 ай бұрын
CDKTF Resource Functions Part Two
11:45
CDKTF Unit Testing
14:40
4 ай бұрын
CDKTF Resource Methods
7:41
4 ай бұрын
Rust projects - Jirust
12:37
Жыл бұрын
Learning SaltStack 2.0 - Pillars
8:09
Learning SaltStack 2.0 - Grains
5:25
Learning Python - Recursion
6:13
3 жыл бұрын
Learning Python - Classes & Methods
13:34
Learning Python - Functions
11:10
3 жыл бұрын
Learning Python - For Loops
14:09
3 жыл бұрын
Learning Python - Sets & Tuples
5:46
Learning Python - Lists & Dicts
45:47
Learning Python - Pointers
4:49
3 жыл бұрын
Learning Python - Variables
16:07
3 жыл бұрын
Learning SaltStack 2.0 - State basics
10:39
Learning Python - Intro
0:58
3 жыл бұрын
Learning Python - Setup
1:33
3 жыл бұрын
Learning SaltStack 2.0 - Setup
9:42
3 жыл бұрын
Пікірлер
@puddlejumper3259
@puddlejumper3259 Ай бұрын
You created a custom logging function to log a type that excludes the sensitive data. This has nothing to do with the language or the logging package whatsoever. This can be done in any language.
@Code-Militia
@Code-Militia Ай бұрын
You’re right, I should have stated that this can be done in other packages. However, I wasn’t making a comparison between packages or languages.
@najmehforoozani
@najmehforoozani 2 ай бұрын
Very informative... many thanks
@Code-Militia
@Code-Militia 2 ай бұрын
Glad it was helpful!
@najmehforoozani
@najmehforoozani 2 ай бұрын
Amazing and informative
@Code-Militia
@Code-Militia 2 ай бұрын
Glad you liked it
@najmehforoozani
@najmehforoozani 2 ай бұрын
Thank you for explaining so beautifully
@Code-Militia
@Code-Militia 2 ай бұрын
My pleasure 😊
@casualgamingz153
@casualgamingz153 2 ай бұрын
Try on lists lil bro
@SidYoung-au
@SidYoung-au 3 ай бұрын
Events with a slash on the end are always a gotcha!
@yansongguo8354
@yansongguo8354 3 ай бұрын
It seems fix the dependency problem using output variables
@Code-Militia
@Code-Militia 3 ай бұрын
Are you referring to terraform outputs? If so, that’s always been there. The issue is that if the dependent stack hasn’t been deployed, terraform doesn’t attempt to deploy it and thus fails.
@VeeWebCode
@VeeWebCode 3 ай бұрын
need come mic imporovements. same volumne I watch other videos much clear
@Code-Militia
@Code-Militia 3 ай бұрын
I will test it and make improvements. Thank you!
@VeeWebCode
@VeeWebCode 3 ай бұрын
just the vo ulume higher and it's good@@Code-Militia
@VeeWebCode
@VeeWebCode 4 ай бұрын
big fan sir
@Code-Militia
@Code-Militia 4 ай бұрын
Thank you!
@jonasprintzen9508
@jonasprintzen9508 4 ай бұрын
Sound isn't brilliant, consistent levels should be a piece of cake...
@Code-Militia
@Code-Militia 4 ай бұрын
Thank you for that input. This video was recorded a long time ago when my equipment wasn’t up to par.
@ayberkdikcinar9784
@ayberkdikcinar9784 4 ай бұрын
Where should I install the inotify? To the master or the minion or both? And also I wonder why centos is not working. I tried with centos master and ubuntu minion. It also did not worked! beacon added correctly to the pillar. However, it did not fire an event to the eventbus at all. Is that all about having centos master?
@Code-Militia
@Code-Militia 4 ай бұрын
Inotify should be on the minion to notify the master.
@Code-Militia
@Code-Militia 4 ай бұрын
It may be centos, try it on vms and see if you can reproduce the issue. If you can, try with both Ubuntu
@ayberkdikcinar9784
@ayberkdikcinar9784 5 ай бұрын
Thank you Ali, I approciate for your work here :)
@Code-Militia
@Code-Militia 4 ай бұрын
My pleasure!
@businessgoose8605
@businessgoose8605 7 ай бұрын
Im installing on ubuntu vm in virtual box. I pip installed salt, i created the directories needed. I ran salt-minion -d Then Salt-key And there are no unregistered keys. But the /etc/salt/pki/{master, minion} dirs were created and the ../minion_id was created with salt as the obly entry. My hostname is salt. Any ideas why the keys are not listed?
@user-wk6mb7mw3g
@user-wk6mb7mw3g 8 ай бұрын
Python does have pointers. Try your simple demonstration on "lists".
@NotFamousReal
@NotFamousReal 10 ай бұрын
Really appreciate this
@9888622400
@9888622400 11 ай бұрын
can you please also tell about Salt-Formula? is it same as salt-state?
@Code-Militia
@Code-Militia 11 ай бұрын
Sure thing, to give you an idea a salt formula is a template yaml file with conditional logic. You must provide parameters to meet conditions on the formula to apply. Think about a formula that can be applied to red hat and Debian, they both use different package managers but a formula can pick up what OS type is calling it based on input value or grain lookup.
@mukut5ul
@mukut5ul Жыл бұрын
How to assign custom grain to minion
@MsNegh
@MsNegh Жыл бұрын
Thank you for the Great Training Akhter! I got an error: "ERROR: Minions returned with non-zero exit code". Couldn't find the reason by searching. I was wondering if you could put the repo here so I can compare where did I miss something please?
@Code-Militia
@Code-Militia Жыл бұрын
Unfortunately I do not have the repo anymore. I would look at /var/log/minion
@cncfreez
@cncfreez Жыл бұрын
NIce informative video, thanks! But one question where are the other grains comming from? And can you also modify those? And how does the refresh works?
@ash3rr
@ash3rr 2 жыл бұрын
Why do we need to install Node
@Code-Militia
@Code-Militia 4 ай бұрын
Apologies for the very late reply. Pulumi may no longer need node but if you use pulumi with typescript, node will be needed
@Seanofthemurray
@Seanofthemurray 2 жыл бұрын
Keep it up you prince. You're my favorite tutorial I've found.
@warrenharris4953
@warrenharris4953 2 жыл бұрын
Great content, but the way you shared the entire screen made a lot of the text unreadable. I think that in the future have a more narrow window and share that.
@Code-Militia
@Code-Militia 2 жыл бұрын
Great feedback, thank you!
@nikitashkaruba610
@nikitashkaruba610 2 жыл бұрын
Half of the tutorial is off screen :D But it helped, so thank you :)
@Code-Militia
@Code-Militia 2 жыл бұрын
Apologies for the poor editing skills, glad it helped.
@matthewbrown4572
@matthewbrown4572 2 жыл бұрын
After I rename my minion in the minion_id file and run salt-minion -d, it does not show up under accepted keys. Any idea what the problem might be?
@Antebios
@Antebios 2 жыл бұрын
You were in the wrong branch!
@Code-Militia
@Code-Militia 2 жыл бұрын
You may have been correct, I should have used the same shell which tells me the branch name on the machine as well.
@PriyankRupareliya
@PriyankRupareliya 2 жыл бұрын
Very helpful video ! I'm actually trying to reorganize the default grains generated on the minions by adding a custom grain under which, I only list the important default grains that I frequently use. Since I'm not a python pro, can you tell me how to obtain the entire dictionary of existing grains in the python code ? Thanks
@Alireza13488
@Alireza13488 2 жыл бұрын
Very good video, but It is also worth mentioning, pointers do exist for arrays or any other mutable object in python
@Code-Militia
@Code-Militia 3 ай бұрын
Thank you for the update! Will correct myself in a future video.
@basictech9069
@basictech9069 3 жыл бұрын
made a 5 min video to tell python dosent have pointers?? seriously???
@arjunmehta2853
@arjunmehta2853 2 жыл бұрын
It's for people who don't even know what pointers are.
@rightangleoverseas2391
@rightangleoverseas2391 3 жыл бұрын
getting Beacon Inotify configuration invalid, not running - Trying to debug since ages!
@UPPERKEES
@UPPERKEES Жыл бұрын
Ages!
@omkaracharya9464
@omkaracharya9464 3 жыл бұрын
Where are other videos on pulumi ? There are only 2
@drac8854
@drac8854 3 жыл бұрын
Is there a way to get value from id For example lets say i do x=10 y=id(x) Now how can i print value of y because now if i print value of y it will be an integer which is memory I want to print whats at that memory Like address(&) in c
@Code-Militia
@Code-Militia 3 жыл бұрын
While you can loop through globals().values() to get the ID and return the value, it's not best practice because there are too many variables to go through and your app could be slowed down by a lot. >>> x = 10 >>> xAddress = id(x) >>> [y for y in globals().values() if id(y)==xAddress] [10, 10] >>>
@frodobaggins3974
@frodobaggins3974 2 жыл бұрын
Without checking first whether this particular ID exists? No and there are good reasons for not doing it. If Python interpreter tried to access memory address that was not allocated to it in the first place (which is likely the case), it would have caused a segmentation fault and the interpreter would be unconditionally killed by the operating system (SIGSEGV). Programs cannot read memory that has not been allocated to them... If you're interested in further explanation read about dereferencing null pointers in C - as this is what you somewhat try to achieve.
@Mogwai88
@Mogwai88 3 жыл бұрын
What color scheme are you using here?
@Code-Militia
@Code-Militia 3 жыл бұрын
I use fish shell with sushi color scheme, this particular set of colors is from VSCode shell with bpython running, and that’s not a typo.
@dhruvmalik6
@dhruvmalik6 3 жыл бұрын
Can you add on how to use gitfs and git ext_pillar modules?
@romanbokelman1107
@romanbokelman1107 3 жыл бұрын
You should have way more views
@Code-Militia
@Code-Militia 3 жыл бұрын
Thank you. That made my day
@jordanhanna6884
@jordanhanna6884 3 жыл бұрын
This video was hard to follow, especially as an intro to states. I think itd be better if a lot of this was done off camera and instead you just explain the concepts while showing the completed example. The really only useful part for me was the last minute.
@thatlazyburger9855
@thatlazyburger9855 3 жыл бұрын
Thanks a lot. I have a test tomorrow and this is gonna help big time. Ty
@shambhav9534
@shambhav9534 3 жыл бұрын
So, you just trolled me? I wanted to use pointers in python, I knew it wasn't possible, then I saw the title, got so happy, then... all went down... And btw C has pointers, that's stupid of you to be uncertain, C++ is just C but more OOP and with modern syntax, and more tools, only more tools, not like C++ has any more features.
@Code-Militia
@Code-Militia 3 жыл бұрын
You’re right, that was an unprofessional jerk move by me. I’ll put a troll tag
@amritlohia8240
@amritlohia8240 Жыл бұрын
Actually it *is* possible, through the ctypes module. See e.g. here: kzbin.info/www/bejne/opTPc2WPZ5ehl9E.
@komalthecoolk
@komalthecoolk 3 жыл бұрын
While I reallly appreciate the free content, how do you expect us to read any of the text you're showing on screen on any device that doesn't have at least a 20 inch monitor?
@Code-Militia
@Code-Militia 3 жыл бұрын
How big is the device you’re using to read the text? Also if you’re on the saltstack playlist, there is a saltstack 2.0 playlist which solves much of those issues. I’m also getting ready to release new terraform videos which includes hcl 0.13. I may reach out to you to make sure it’s clearly visible in all devices
@komalthecoolk
@komalthecoolk 3 жыл бұрын
the dots in whitespaces in your editor is super confusing. I was trying to figure out what character that was.
@Code-Militia
@Code-Militia 3 жыл бұрын
Sorry about that. I'll change my theme
@frodobaggins3974
@frodobaggins3974 3 жыл бұрын
Hehe, try this: a = [1, 2, 3] b = a a.append(4) print(b) Surprised? :)
@Code-Militia
@Code-Militia 3 жыл бұрын
I will try this out and figure out why the result is the result. Thank you so much!
@predator1011X
@predator1011X 3 жыл бұрын
@@Code-Militia i would like to know this too
@frodobaggins3974
@frodobaggins3974 3 жыл бұрын
@@predator1011X Short answer: memory management. Lists are mutable objects, once you create a list, and make a link between the variable name (also an object in Python!) and the list object, the link holds even if you change the content of the linked object (a list in this case). Same goes for sets, dicts and user-created classes. It's rooted in the 'everything is an object' ideology. So if you want to mimic a pointer behaviour in Python, contain the variable value in a list. Saying this, in C++ we use pointers for speed and for smarter memory management. In Python you will not see any of these benefits, as the list is stored as an object anyway, not a simple addressed heap value. But yeah, it's there, and it works - if you need it.
@ranitchatterjee5552
@ranitchatterjee5552 3 жыл бұрын
No, xD!!
@exoticme4760
@exoticme4760 Жыл бұрын
PIN THIS
@rahulgupta-km8qr
@rahulgupta-km8qr 3 жыл бұрын
Awesome video
@Code-Militia
@Code-Militia 3 жыл бұрын
Thank you!
@richardmaduka4747
@richardmaduka4747 3 жыл бұрын
Great tutorial.
@Code-Militia
@Code-Militia 3 жыл бұрын
Thank you!
@raayaansahu2525
@raayaansahu2525 3 жыл бұрын
ahaha lovely kinda hilarious though
@Code-Militia
@Code-Militia 3 жыл бұрын
Finally, someone finds it funny 😄
@BigBawsBoss
@BigBawsBoss 3 жыл бұрын
Hey Mo, I am following your tutorial but my minion is not able to communicate with the master it seems. I have set the security group on the master to open up 4505 and 4506 on TCP, is there anything else you had to do to get this to work? When I run "nc -v *ipaddress* 4505" on the minion it times out. Thanks!
@Code-Militia
@Code-Militia 3 жыл бұрын
You also need to open 4505 and 4506 on the minion as well.
@ArandomNutter
@ArandomNutter 3 жыл бұрын
Did you ever do a video on having this with something like Jenkins for unit testing?
@Code-Militia
@Code-Militia 3 жыл бұрын
I did not. Pretty good idea though. I was gonna make cicd a playlist of its own. Might add it to the new salt playlist now.
@changeDgame47
@changeDgame47 3 жыл бұрын
whatever happened to font size, great content but so hard to comprehend
@Code-Militia
@Code-Militia 3 жыл бұрын
I do apologize for it, this is why I started the Learning Saltstack 2.0 playlist. This one is still up for people who want to refer back to it.
@abhilashsandupatla2651
@abhilashsandupatla2651 3 жыл бұрын
HI , I have setup master and minion, and accepted the keys , and tested the connection also, its fine . But, when am running the state file in the video, It is giving error . [WARNING ] Failed to open log file, do you have permission to write to /var/log/salt/master? Salt request timed out. The master is not responding. You may need to run your command with `--async` in order to bypass the congested event bus. With `--async`, the CLI tool will print the job id (jid) and exit immediately without listening for responses. You can then use `salt-run jobs.lookup_jid` to look up the results of the job in the job cache later.
@Code-Militia
@Code-Militia 3 жыл бұрын
Are you doing this locally? If not make sure your firewall allow port 4505 and 4506
@gzoechi
@gzoechi 3 жыл бұрын
Looks good so far but text is too small
@Code-Militia
@Code-Militia 3 жыл бұрын
Thanks, so far this is the main reason I started a new playlist learning saltstack 2.0z. Addressing some of the editing.
@darshanshivashankar9229
@darshanshivashankar9229 3 жыл бұрын
Perfect understanding!! Please upload more videos about the reactor and returners.
@Code-Militia
@Code-Militia 3 жыл бұрын
Will do, thanks.
@rijeshparambath3810
@rijeshparambath3810 3 жыл бұрын
Excellent tutorials Akhter. Thank you very much for the effort
@Code-Militia
@Code-Militia 3 жыл бұрын
Thank you so much, that means a lot.